package com.lucas.fallback;

import com.lucas.service.CodeService;

/**
 * @program: spring_cloud_lagou_homework
 * @author: lucasLu
 **/
public class CodeFallBack implements CodeService {

    @Override
    public String codeFeignTest() {
        return "error";
    }

    @Override
    public Integer validateCode(String email, String code) {
        // 0正确 1错误 2超时
        return 1;
    }
}
